<?php

class rule_parser {

    private $_operations = array(
        '+', '-', '*', '/',
        '(', ')',
        '>', '<', '=', '>=', '<=', '!='
    );
    public $_fields_map = array();

    public function __construct($path_file_rule) {
        $this->_fields_map = include ROOT_CONFIG . DS . 'fieldsmap.php';
    }

    public function process_rule() {
        $lines = file(ROOT_DATA_RULE . DS . 'test.rul', "r");
        foreach ($lines as $line) {
            echo($line);
        }
    }

}
?>
